package a.g.a;

import a.e.k;
import a.e.l;
import a.h.dc;
import a.j.db;
import a.j.jb;
import a.j.pg;

public class g
  extends f
{
  private static final String P = "GIF_OUTPUT";
  private static final String Q = "GIF";
  private static final String R = "TRANSPARENT_BACKGROUND";
  public static boolean S;
  
  public g()
  {
    super("GIF_OUTPUT", "[RW]", "GIF Export");
  }
  
  protected dc j()
  {
    dc localdc = new dc("GIF_OUTPUT");
    localdc.l("VIEWPORT");
    b(localdc);
    localdc.l("GIF");
    localdc.a("TRANSPARENT_BACKGROUND", false);
    d(localdc);
    localdc.l("TILING");
    c(localdc);
    return localdc;
  }
  
  protected k y()
  {
    return new l();
  }
  
  protected void n()
  {
    boolean bool = a.M;
    l locall = (l)v();
    a.j.g localg = e();
    pg localpg1 = locall.a(localg);
    pg localpg2 = g();
    localg.a(localpg1);
    a(localpg1, localpg2);
    localpg1.a(localpg2.W());
    dc localdc = i();
    w();
    if (!bool)
    {
      x();
      if (!localdc.g("TRANSPARENT_BACKGROUND"))
      {
        db localdb = localpg2.Y();
        if (bool) {
          return;
        }
        if (!(localdb instanceof jb)) {
          break label145;
        }
        jb localjb = (jb)localdb;
        localjb.a(localpg1);
        localpg1.a(localjb);
        super.n();
        localjb.a(localpg2);
        if (bool) {
          return;
        }
        if (!a.L) {
          break label145;
        }
      }
    }
    super.n();
    label145:
    a(locall);
    localg.c(localg.fb());
    localg.a(localpg2);
  }
}


/* Location:           E:\idea\
 * Qualified Name:     a.g.a.g
 * JD-Core Version:    0.7.0.1
 */